package com.shopping.mall.core.module.goodsSpecification.vo;

import com.shopping.mall.core.module.goodsSpecification.entity.NumPrice;
import lombok.Data;
import org.springframework.validation.annotation.Validated;
import reactor.util.annotation.Nullable;

import javax.validation.Valid;
import java.util.List;
import java.util.Map;

/**
 * @Author ZZY
 * @Date 2021/8/29
 */
@Data
public class GoodsSpecificationVo {

    private String id;

    private String goodsId;

    private List<Map<String, String>> specification;

    private Integer stock;

    private Double price;

    private String type;

    private Integer maxNumber;

    @Valid
    private List<NumPrice> numPriceList;
}
